namespace System.Web.Mvc.Html

{
	public static class LiExtensions
	{
		public static MvcHtmlString Li(this HtmlHelper htmlHelper, string text)
		{
			TagBuilder tb = new TagBuilder("li");
			tb.InnerHtml = text;
			return MvcHtmlString.Create(tb.ToString());
		}

		public static MvcHtmlString Li(this HtmlHelper htmlHelper, MvcHtmlString mvcHtmlString)
		{
			TagBuilder tb = new TagBuilder("li");
			tb.InnerHtml = mvcHtmlString.ToString();

			return MvcHtmlString.Create(tb.ToString());
		}
	}
}